from rest_framework.pagination import PageNumberPagination
from django.conf import settings


class commonPageNumberPagination(PageNumberPagination):
    page_size = settings.PAGE_SIZE
    page_query_param = 'page'
    page_size_query_param = 'size'
    max_page_size = settings.MAX_PAGE_SIZE
